import Index from "@/views/layout/index.vue";

export default [
  {
    //系统管理
    path: "/rbac_manager",
    name: "rbac_manager",
    meta: {
      icon: "",
      title: "权限管理",
      auth: false,
    },
    component: Index,
    children: [
      {
        path: "/rbac_uesr_list",
        name: "rbac_user_list",
        meta: {
          title: "管理员列表",
          auth: false,
        },
        component: () => import("@/views/permession/user/Index.vue"),
      },
      {
        path: "/rbac_role_list",
        name: "rbac_role_list",
        meta: {
          title: "角色列表",
          auth: false,
        },
        component: () => import("@/views/permession/role/Index.vue"),
      },
      {
        path: "/rbac_menu_tree",
        name: "rbac_menu_tree",
        meta: {
          title: "系统菜单树",
          auth: false,
        },
        component: () => import("@/views/permession/menu/Index.vue"),
      },
      {
        path: "/rbac_api_list",
        name: "rbac_api_list",
        meta: {
          title: "接口列表",
          auth: false,
        },
        component: () => import("@/views/permession/api/Index.vue"),
      },
      {
        path: "/rbac_role_api_list",
        name: "rbac_role_api_list",
        meta: {
          title: "接口权限列表",
          auth: false,
        },
        component: () => import("@/views/permession/bind/Index.vue"),
      },
    ],
  },
];
